package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.util.Date;

/**
 * 商家表 businessinfo
 * 
 * @author chengenjiang
 * @date 2019-07-16
 */
public class Businessinfo extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 商家信息ID */
	@Excel(name = "商家信息ID")
	private Integer businessinfoId;
	/** 商家名称 */
	@Excel(name = "商家名称")
	private String businessinfoName;
	/** 商家法人 */
	@Excel(name = "商家法人")
	private String faren;
	/** 商家类型ID */

	private Integer businesstypeId;
	/** 商户电话 */
	@Excel(name = "商户电话")
	private String businessTel;
	/** 经营地址 */
	@Excel(name = "经营地址")
	private String businessAdress;
	/** 入住时间 */
	@Excel(name = "入住时间")
	private String ruZhuTime;
	/** 当月交易 */
	@Excel(name = "当月交易")
	private Double monthTrade;
	/** 当月营收 */
	@Excel(name = "当月营收")
	private Double monthRevenue;
	/** 审核状态 */
	@Excel(name = "审核状态", readConverterExp = "0=未审核,1=审核中,2=已通过")
	private String auditStatus;
	/** 审核进度 */
	@Excel(name = "审核进度")
	private String jindu;
	/** 启停状态 */
	@Excel(name = "启停状态", readConverterExp = "0=停用,1=启用")
	private String status;
	/** 创建时间 */
	@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
	private Date createTime;
	/** 修改时间 */
	@Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
	private Date updateTime;
	/** 扩展字段 */
	@Excel(name = "扩展字段")
	private String attribute;
	@Excel(name = "商家类型",targetAttr = "businesstypeName", type = Excel.Type.EXPORT)
	private Shangjiatype shangjiatype;
	/** 标记*/
	private boolean flag = false;
	//登陆账号
	private Long userId;


	public void setBusinessinfoId(Integer businessinfoId) 
	{
		this.businessinfoId = businessinfoId;
	}

	public Integer getBusinessinfoId() 
	{
		return businessinfoId;
	}
	public void setBusinessinfoName(String businessinfoName) 
	{
		this.businessinfoName = businessinfoName;
	}

	public String getBusinessinfoName() 
	{
		return businessinfoName;
	}
	public void setFaren(String faren) 
	{
		this.faren = faren;
	}

	public String getFaren() 
	{
		return faren;
	}
	public void setBusinesstypeId(Integer businesstypeId) 
	{
		this.businesstypeId = businesstypeId;
	}

	public Integer getBusinesstypeId() 
	{
		return businesstypeId;
	}
	public void setBusinessTel(String businessTel) 
	{
		this.businessTel = businessTel;
	}

	public String getBusinessTel() 
	{
		return businessTel;
	}
	public void setBusinessAdress(String businessAdress) 
	{
		this.businessAdress = businessAdress;
	}

	public String getBusinessAdress() 
	{
		return businessAdress;
	}
	public void setRuZhuTime(String ruZhuTime) 
	{
		this.ruZhuTime = ruZhuTime;
	}

	public String getRuZhuTime() 
	{
		return ruZhuTime;
	}
	public void setMonthTrade(Double monthTrade) 
	{
		this.monthTrade = monthTrade;
	}

	public Double getMonthTrade() 
	{
		return monthTrade;
	}
	public void setMonthRevenue(Double monthRevenue) 
	{
		this.monthRevenue = monthRevenue;
	}

	public Double getMonthRevenue() 
	{
		return monthRevenue;
	}

	public void setJindu(String jindu) 
	{
		this.jindu = jindu;
	}

	public String getJindu() 
	{
		return jindu;
	}


	public void setAttribute(String attribute) 
	{
		this.attribute = attribute;
	}

	public String getAttribute() 
	{
		return attribute;
	}
	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("businessinfoId", getBusinessinfoId())
            .append("businessinfoName", getBusinessinfoName())
            .append("faren", getFaren())
            .append("businesstypeId", getBusinesstypeId())
            .append("businessTel", getBusinessTel())
            .append("businessAdress", getBusinessAdress())
            .append("ruZhuTime", getRuZhuTime())
            .append("monthTrade", getMonthTrade())
            .append("monthRevenue", getMonthRevenue())
            .append("auditStatus", getAuditStatus())
            .append("jindu", getJindu())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("attribute", getAttribute())
            .toString();
    }


	public Date getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	public Date getUpdateTime() {
		return updateTime;
	}


	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getAuditStatus() {
		return auditStatus;
	}

	public void setAuditStatus(String auditStatus) {
		this.auditStatus = auditStatus;
	}

	public Shangjiatype getShangjiatype() {
		return shangjiatype;
	}

	public void setShangjiatype(Shangjiatype shangjiatype) {
		this.shangjiatype = shangjiatype;
	}

	public boolean isFlag() {
		return flag;
	}

	public void setFlag(boolean flag) {
		this.flag = flag;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}
}
